package com.idp.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.idp.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 菜单实体类
 * @author king
 */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName("sys_menu")
public class SysMenuEntity extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/** 主键ID */
	@TableId(value = "id", type = IdType.ASSIGN_UUID)
	private String id;
	/** 菜单名称 */
	@TableField("menu_name")
	private String menuName;
	/** 菜单路径 */
	@TableField("menu_url")
	private String menuUrl;
	/** 菜单图标 */
	@TableField("menu_icon")
	private String menuIcon;
	/** 父级菜单ID */
	@TableField("parent_id")
	private String parentId;
	/** 排序 */
	@TableField("sort")
	private Integer sort;

}
